package com.yl.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author ln
 * @since 2023-06-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Xuetang implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Integer hugongid;

    private Long laorenid;

    private String xuetang;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-mm-dd")
    private LocalDateTime createTime;

    @TableField(exist = false)
    private String hname;

    @TableField(exist = false)
    private String lname;

    @TableField(exist = false)
    private String weizhi;

    @TableField(exist = false)
    private String chuang;

    @TableField(exist = false)
    private String fang;

}
